package com.zwh.service;


import com.zwh.entity.Patient;
import com.zwh.entity.Question;
import com.zwh.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserService {

    //用户注册
    void regist(User user);
    //用户登录
    User login(String name, String password);
    //保存病人信息
    void patientkeep(Patient patient);

    //病人预约信息列表
    List<Patient> patientlists();
    //保存问题数据
    void questionkeep(Question question);

}
